import { createRouter,createWebHistory} from "vue-router"


const routes = [
    {
        path:"/",name:"Home",component:()=> import("../views/Home..vue")
    },
    {
        path:"/Create",name:"Createpost",component: ()=> import("../views/createPost.vue")
    },
    {
        path:"/Details",name:"Details",component:()=>import("../views/Detials.vue")
    }
]


const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router